Reports usage of triple quotes and sigils in Erlang versions prior to OTP 27.

This inspection detects the use of triple quotes and sigils for string literals in Erlang code when the project's Erlang SDK version is older than OTP 27. Both features were introduced in Erlang OTP 27 and are not supported in earlier versions.

Using triple quotes or sigils in older Erlang versions will result in syntax errors. This inspection helps prevent such errors by highlighting incompatible usage.

Example of unsupported triple quotes in Erlang versions prior to OTP 27:


String = """
    This is a multi-line
    string using triple quotes.
    """.

Example of unsupported sigils in Erlang versions prior to OTP 27:


Binary = ~"Hello, World!".
Binary2 = ~b"UTF-8 binary".
String = ~s"A string".

To fix this issue, either upgrade your Erlang SDK to version 27 or later, or use traditional string/binary syntax:


String = "This is a multi-line\n"
         "string using traditional syntax.\n".
Binary = <<"Hello, World!"/utf8>>.

This inspection is particularly useful when working on projects that need to maintain compatibility with older Erlang versions or when transitioning to newer Erlang features.